<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title></title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    </head>
    <body>
        <form action="categoryUpdate.php" method="POST">
            <table border="1">
                <tbody>
                    <tr>
                        <input type="hidden" name="id" value="-1" />
                        <input type="hidden" name="page" value="<!--{$page}-->" />
                        <input type="hidden" name="inTime" value="-1" />
                        <input type="hidden" name="inUser" value="-1" />
                        <td>Category Name:</td>
                        <td><input type="text" name="category" value="" /></td>
                    </tr>
                    <tr>
                        <td>Parent:</td>
                        <td>
                            <select name="parent">
                                <option value="-1">Top(No parent)</option>
                                <!--{ foreach from = $parents item = parent }-->
                                <option value="<!--{ $parent.id }-->"><!--{ $parent.category}--></option>
                                <!--{ /foreach  }-->
                            </select>
                        </td>
                    </tr>
                    <tr align="center">
                        <td>
                            <input type="submit" value="Submit" />
                        </td>
                        <input type="hidden" value="" name=""/>
                        <input type="hidden" value="" name=""/>
                        <td>
                            <input type="reset" value="Reset" />
                        </td>
                    </tr>
                </tbody>
            </table>
        </form>
    </body>
</html>
